package com.example.gugongticket.dao;

import com.example.gugongticket.entity.Ticket;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TicketRepository extends JpaRepository<Ticket, Integer> {

     Ticket findByType(Ticket.TicketType ticketType);
}